package 结构型模式.装饰者模式.实例二;

/**
 * @author chenhs
 * @date 2020/10/18
 */
public class GunFactory implements Igun {
	protected  Igun gun;
	public GunFactory(Igun gun){
		this.gun =gun;
	}
	@Override
	public void shoot() {
		gun.shoot();
	}
}
